package uno.linze.interview_question.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "题目查询参数")
public class QuestionQueryParams {

    @Schema(description = "页码", example = "1")
    private Integer page = 1;

    @Schema(description = "每页条数", example = "20")
    private Integer size = 20;

    @Schema(description = "分类ID筛选")
    private Integer categoryId;

    @Schema(description = "难度等级筛选（1:简单, 2:中等, 3:困难）", allowableValues = {"1", "2", "3"})
    private Integer difficulty;

    @Schema(description = "标签ID筛选")
    private Integer tagId;

    @Schema(description = "标题搜索关键词")
    private String keyword;
}
